//
//  CPSCAll2CategoryLeftView.h
//  CollTest
//
//  Created by codew on 11/9/21.
//

#import <UIKit/UIKit.h>
#import "CPSCAll2CategoryVC_Constants.h"


NS_ASSUME_NONNULL_BEGIN

typedef void(^CPSCAll2CategoryLeftViewClickBlock)(id <CPSCAll2CategoryLeftViewUIModelProtocol>item);

@interface CPSCAll2CategoryLeftView : UIView

+ (instancetype)viewCategoryLeft;

// 数据更新
- (void)updateViewDataSources:(NSArray <CPSCAll2CategoryLeftViewUIModelProtocol>*)dataArray;

/** 被点击向上反馈 */
@property (nonatomic, copy) CPSCAll2CategoryLeftViewClickBlock blockLeftClick;
/** 外界主动改变--跟新 */
- (void)upateViewWtihSwitchType:(CPSCAll2CategoryViewSwitchType)switchType;
@end

NS_ASSUME_NONNULL_END

